package com.cskaoyan.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author stone
 * @date 2022/06/01 15:07
 */
@RestController
public class HelloController {

    @RequestMapping("hello")
    public String hello() {
        String s = "hello handler";
        System.out.println(s);
        return s;
    }

    @RequestMapping("user/login")
    public String login() {
        System.out.println("userlogin");
        return "userlogin";
    }
}
